package cn.wawi.entity.data;

import java.util.List;
import org.apache.commons.lang3.StringEscapeUtils;
import com.fasterxml.jackson.annotation.JsonProperty;

/*
 * 企业表
 */
public class Enterprise{

	@JsonProperty("id")
	private Long entId;  
	private String entName;
	private String entAddress;
	private String entPhone;
	private String entDes;
	private Integer status=1;
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	private Trade trade;
	private List<Recruitment> recruitments;
	
	public List<Recruitment> getRecruitments() {
		return recruitments;
	}
	public void setRecruitments(List<Recruitment> recruitments) {
		this.recruitments = recruitments;
	}
	public Trade getTrade() {
		return trade;
	}
	public void setTrade(Trade trade) {
		this.trade = trade;
	}
	public Long getEntId() {
		return entId;
	}
	public void setId(Long id) {
		this.entId = id;
	}
	public String getEntName() {
		return entName;
	}
	public void setEntName(String entName) {
		this.entName = entName;
	}
	public String getEntAddress() {
		return entAddress;
	}
	public void setEntAddress(String entAddress) {
		this.entAddress = entAddress;
	}
	public String getEntPhone() {
		return entPhone;
	}
	public void setEntPhone(String entPhone) {
		this.entPhone = entPhone;
	}
	public String getEntDes() {
		entDes=StringEscapeUtils.unescapeHtml4(entDes);
		return entDes;
	}
	public void setEntDes(String entDes) {
		this.entDes = entDes;
	}
	public void setEntId(Long entId) {
		this.entId = entId;
	}
}
